import { Layout } from '@/utils/routerHelper'

export const zty_router = [
  {
    path: '/Plant',
    component: Layout,
    // redirect: '/GoodsManage',
    name: 'Plant',
    meta: {
      title: '植物及病害虫监管',
      //   icon: 'ant-design:dashboard-filled',
      alwaysShow: true
    },
    children: [
      {
        path: 'bug_record',
        component: () => import('@/views/Plant/bug_record.vue'),
        name: 'bug_record',
        meta: {
          title: '病害虫记录',
          noCache: true,
          affix: true
        }
      },
      {
        path: 'zoon_plant_info',
        component: () => import('@/views/Plant/zoon_plant_info.vue'),
        name: 'zoon_plant_info',
        meta: {
          title: '动植物统计',
          noCache: true,
          affix: true
        }
      },
      {
        path: 'park_plant_message',
        component: () => import('@/views/Plant/park_plant_message.vue'),
        name: 'park_plant_message',
        meta: {
          title: '公园植物信息监管',
          noCache: true,
          affix: true
        }
      },
      {
        path: 'park_zoon_message',
        component: () => import('@/views/Plant/park_zoon_message.vue'),
        name: 'park_zoon_message',
        meta: {
          title: '公园动物信息监管',
          noCache: true,
          affix: true
        }
      }
    ]
  }
]
